home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
Libraries
/
VideoToolbox 96.06.15
/
Pre-compiled headers
/
VideoToolbox.pch
< prev
next >
Wrap
Text File
|
1996-01-25
|
4KB
|
121 lines
/*
VideoToolbox.pch
Use this Metrowerks CodeWarrior file to create/update the pre-compiled version
of the VideoToolbox.h header. (VideoToolbox.pch won't work with THINK C; use
VideoToolbox.c instead.) Adding VideoToolbox.pch to your project will cause the
appropriate VideoToolbox pre-compiled header to be created or updated, if
necessary, automatically. You must still write the name of the correct
pre-compiled header into the prefix line of your project's "Language"
Preference.
VideoToolbox.pch works only with CodeWarrior, but is more automated than
VideoToolbox.c. It will automatically generate the correct file name for the
precompiled header and store it in the right place. If you include this file in
your project, CodeWarrior will automatically determine when the precompiled
header is stale and will rebuild it automatically. Unfortunately, in CodeWarrior
5 and 6, the compiler is a bit too gung ho and always re-precompiles when you next
"Make" your project after "Remove Binaries", which is a big waste of time.
All the pre-compiled headers should be stored in
"VideoToolbox:VideoToolboxSources:Precompiled headers". Here's my naming
convention for pre-compiled headers:
"VideoToolbox.pre" = THINK C, 68k, 2-byte int, "universal" floating format w/o 8881 fpu.
"VideoToolbox.f.pre" = THINK C, 68k, 2-byte int, "universal" floating format w 8881 fpu.
"VideoToolbox.68k.4i.f.pre" = CodeWarrior, 68k, 4-byte int, 12-byte double for 8881.
"VideoToolbox.68k.4i.pre" = CodeWarrior, 68k, 4-byte int, 10-byte double for no fpu.
"VideoToolbox.ppc.pre" = CodeWarrior, PowerPC (necessarily 4-byte int and 8-byte double).
NOTE:
The __option() feature was new to CodeWarrior 5 and did not work properly: it
always returned false. It seems to work fine in CW5.5.
HISTORY:
1/6/95 dgp created it.
1/16/95 dgp expanded the documentation above
6/1/95 dgp updated documentation
7/19/95 dgp added special case for "ansi", which omits all Mac-specific routines.
*/
#pragma check_header_flags on
#ifdef __powerc
#if !__option(mpwc_newline)
#pragma precompile_target "VideoToolbox.ppc.pre"
#else
#pragma precompile_target "VideoToolbox.ppc.N.pre"
#endif
#else
#if !__option(far_data)
#if !__option(mpwc_newline)
#if __fourbyteints__
#if __MC68881__
#if !__option(only_std_keywords)
#pragma precompile_target "VideoToolbox.68k.4i.f.pre"
#else
#pragma precompile_target "VideoToolbox.68k.4i.f.ansi.pre"
#endif
#else
#if !__option(only_std_keywords)
#pragma precompile_target "VideoToolbox.68k.4i.pre"
#else
#pragma precompile_target "VideoToolbox.68k.4i.ansi.pre"
#endif
#endif
#else
#if __MC68881__
#pragma precompile_target "VideoToolbox.68k.2i.f.pre"
#else
#pragma precompile_target "VideoToolbox.68k.2i.pre"
#endif
#endif
#else
#if __fourbyteints__
#if __MC68881__
#pragma precompile_target "VideoToolbox.68k.N.4i.f.pre"
#else
#pragma precompile_target "VideoToolbox.68k.N.4i.pre"
#endif
#else
#if __MC68881__
#pragma precompile_target "VideoToolbox.68k.N.2i.f.pre"
#else
#pragma precompile_target "VideoToolbox.68k.N.2i.pre"
#endif
#endif
#endif
#else
#if !__option(mpwc_newline)
#if __fourbyteints__
#if __MC68881__
#pragma precompile_target "VideoToolbox.68k.far.4i.f.pre"
#else
#pragma precompile_target "VideoToolbox.68k.far.4i.pre"
#endif
#else
#if __MC68881__
#pragma precompile_target "VideoToolbox.68k.far.2i.f.pre"
#else
#pragma precompile_target "VideoToolbox.68k.far.2i.pre"
#endif
#endif
#else
#if __fourbyteints__
#if __MC68881__
#pragma precompile_target "VideoToolbox.68k.far.N.4i.f.pre"
#else
#pragma precompile_target "VideoToolbox.68k.far.N.4i.pre"
#endif
#else
#if __MC68881__
#pragma precompile_target "VideoToolbox.68k.far.N.2i.f.pre"
#else
#pragma precompile_target "VideoToolbox.68k.far.N.2i.pre"
#endif
#endif
#endif
#endif
#endif
#include "VideoToolbox.h"